/**
 * @serialNumber 排序,必填
 * @show 是否显示路由
 * @roles 角色权限设置
 */
import { READONLYROUTERDOM } from '../base/routerDom';
/**
 * 首页路由
 */
const routerDom: READONLYROUTERDOM = {
  path: '/baseMessage',
  name: 'baseMessage',
  meta: {
    title: '工单',
    show: false,
    icon: 'icon-tool',
    serialNumber: 10,
    mapKey: 2,
  },
  component: () => import('@views/masterPage/templatePage/templatePage.vue'),
  children: [
    {
      path: '/queyrOddModel',
      name: 'queyrOddModel',
      meta: {
        title: '报工进度',
        show: true,
        icon: 'icon-file',
        serialNumber: 1,
      },
      component: () => import('@views/baseMessage/queyrOddModel/queyrOddModel.vue'),
    },
    {
      path: '/querySfCteModel',
      name: 'querySfCteModel',
      meta: {
        title: '工单详情',
        show: false,
        icon: 'icon-user',
        serialNumber: 1,
      },
      component: () => import('@views/baseMessage/querySfCteModel/querySfCteModel.vue'),
    },
    {
      path: '/reportingWorkModel',
      name: 'reportingWorkModel',
      meta: {
        title: '报工查询',
        show: true,
        icon: 'icon-layout',
        serialNumber: 1,
      },
      component: () => import('@views/baseMessage/reportingWorkModel/reportingWorkModel.vue'),
    },
    {
      path: '/workshopDispatchReporting',
      name: 'workshopDispatchReporting',
      meta: {
        title: '派工单',
        show: true,
        icon: 'icon-layout',
        serialNumber: 1,
      },
      component: () => import('@views/baseMessage/workshopDispatchReporting/workshopDispatchReporting.vue'),
    },
    {
      path: '/dispatchingWork',
      name: 'dispatchingWork',
      meta: {
        title: '派工',
        show: false,
        icon: 'icon-layout',
        serialNumber: 1,
      },
      component: () => import('@views/baseMessage/workshopDispatchReporting/dispatchingWork/dispatchingWork.vue'),
    },
    {
      path: '/dispatchQuery',
      name: 'dispatchQuery',
      meta: {
        title: '派工查询',
        show: true,
        icon: 'icon-layout',
        serialNumber: 1,
      },
      component: () => import('@views/baseMessage/dispatchQuery/dispatchQuery.vue'),
    },
  ],
};
export default routerDom;
